package com.wltt.product.ahuthr.controller;

import com.wltt.product.ahuthr.model.ResultData;
import com.wltt.product.ahuthr.model.vo.DealRemindReq;
import com.wltt.product.ahuthr.service.RemindService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/api/remind")
public class RemindController {

    @Resource
    private RemindService remindService;

    /**
     * 处理提醒
     *
     * @return
     */
    @RequestMapping(value = {"/dealRemind"}, method = RequestMethod.POST)
    public ResultData dealRemind(@RequestBody DealRemindReq dealRemindReq) {
        return remindService.dealRemind(dealRemindReq);
    }
}
